<?php

function smarty_modifier_display_type_news($type) {
	switch ($type) {
		case 1: return '<span class="type-news">Notícia</span>'; break;
		case 2: return '<span class="type-maintenance">Manutenção</span>'; break;
		case 3: return '<span class="type-event">Evento</span>'; break;
		case 4: return '<span class="type-promotion">Promoção</span>'; break;						
	}
}

?>